KeyTyped

public interface KeyTyped implements KeyEvent

An event indicating that a keyboard character key has been typed.

Types

Link copied to clipboard
public final class Builder
A builder of KeyTyped.

Functions

Link copied to clipboard
public char keyChar()
Returns the character corresponding to the typed key.
Link copied to clipboard
public KeyCode keyCode()
Returns the code of the key.
Link copied to clipboard
public KeyLocation keyLocation()
Returns the location of the key on the keyboard.
Link copied to clipboard
Returns the keyboard modifiers applied.
Link copied to clipboard
public static KeyTyped.Builder newBuilder(KeyCode keyCode)
Creates a new KeyTyped builder with the given required parameters.